function tones = tones_define(basic_tone_num)   %basic tone num, eg: 1 = A tone, 2 = B tone
Z = 2^(1/12);
basic_tones = [220,220*Z^2,220*Z^3,220*Z^5,220*Z^7,220*Z^8,220*Z^10]; %A to G tones
basic_tone_selected = basic_tones(basic_tone_num);  % the basic tone
x = basic_tone_selected;  % for no use, only basic_tone_selected is too long
tones = [x,x*Z^2,x*Z^4,x*Z^5,x*Z^7,x*Z^9,x*Z^11,0];  %do to xi,the 8th is zero for rest
end